<template>
    <div>
        <el-table :data="tableData" border style="width: 100%">
            <el-table-column prop="id" label="工作队名称" align="center" />
            <el-table-column prop="ns.oname" label="队长姓名" align="center" />

        </el-table>
        <page></page>
</div>
</template>

<script>

import axios from 'axios'
import {ref} from 'vue'
import page from './page.vue'
export default {
    name: "list",
    setup() {
        let tableData =ref([])
        axios({
            url: "http://1.14.73.59:8080/organization/findorganizationList",
            method:"get"
        }).then(
            resp=>{
                console.log(resp.data.data);
                tableData.value=resp.data.data
            }
        )
        return{
            tableData
        }

    }
}
</script>
<style scoped>
.demo-pagination-block+.demo-pagination-block {
    margin-top: 10px;
}

.demo-pagination-block .demonstration {
    margin-bottom: 16px;
}
</style>

